<h1>Listing presences</h1>

<table>
  <tr>
  </tr>
  
<% for presence in @presences %>
  <tr>
    <td><%= link_to 'Show', presence_path(presence) %></td>
    <td><%= link_to 'Edit', edit_presence_path(presence) %></td>
    <td><%= link_to 'Destroy', presence_path(presence), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New presence', new_presence_path %>